package com.film.rowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class FilmAndTypeRowMapper implements RowMapper<Integer>{

	@Override
	public Integer mapRow(ResultSet res, int arg1) throws SQLException {
		
		return res.getInt("type_id");
	}

}
